package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.dto.CreateOrderRespDto;
import io.renren.modules.app.entity.BalanceOrderEntity;
import io.renren.modules.app.req.BalanceRechargeReq;

import java.util.Map;

/**
 * 余额充值订单
 *
 * @author MR.XU
 * @email 260139486@qq.com
 * @date 2021-01-25 16:40:45
 */
public interface BalanceOrderService extends IService<BalanceOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     *用户个人余额充值
     * @param balanceRechargeReq
     */
    CreateOrderRespDto balanceRecharge(BalanceRechargeReq balanceRechargeReq);

    void refundCheck();
}

